﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MotionPlanning.MotionPlanningPrimitives;

namespace MotionPlanning.MotionPlanningAlgorithms.ioRRT_Prototype
{
    class NodeData_ioRRT : RoboticSystemPlanningNodeData
    {
        private int n_selected;
        public NodeData_ioRRT(double[] q, double cost)
            : base(q, cost)
        {
            n_selected = 0;
        }
        public void BeingSelected()
        {
            n_selected++;
        }
        public int GetSelectedTimes()
        {
            return n_selected;
        }
    }
}
